package com.liusand.service;

import com.liusand.pojo.Category;
import com.liusand.pojo.PageInfo;

import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.service
 * fileName :CatogoryService
 * creationTime :2022/11/22 14:57
 */
public interface CategoryService {
    PageInfo<Category> page(Integer page, Integer pageSize);

    List<Category> list(Integer type);

    boolean saveCategory(Category category);

    boolean deleteCategoryById(String id);

    boolean updateCategory(Category category);
}
